package com.ck.demo;

import com.ck.util.VideoUtils;

public class VideoMainDemo {

    public static void main(String[] args) {
        String filePath = "E:\\temp\\output\\";
        String fileName = "test.m3u8";
        try {
            //VideoUtils.encrypt(filePath+fileName,"unisyou");
            VideoUtils.decrypt(filePath+fileName,filePath+"test.m3u8",7);
            System.out.println(VideoUtils.readFileLastByte(filePath+fileName,7));
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
